-
Home
-
hCaptcha for WordPress
-
1.15.0
-
Code
-
Classes
- HCaptchaHandler
Total Complexity |
27 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
364 |
Lines of code |
185 |
Logical lines of code |
63 |
Comment lines |
125 |
Methods |
21 |
Properties |
1 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validation() |
S |
54 |
4 |
20 |
init() |
S |
54 |
2 |
23 |
register_scripts() |
S |
55 |
1 |
24 |
modify_controls() |
S |
54 |
1 |
22 |
localize_settings() |
S |
60 |
1 |
16 |
filter_field_item() |
S |
70 |
2 |
6 |
is_enabled() |
S |
79 |
2 |
3 |
add_render_attributes() |
S |
63 |
1 |
12 |
get_hcaptcha_theme() |
S |
80 |
1 |
3 |
get_hcaptcha_size() |
S |
80 |
1 |
3 |
get_setup_message() |
S |
79 |
1 |
3 |
after_enqueue_scripts() |
S |
67 |
1 |
9 |
get_secret_key() |
S |
80 |
1 |
3 |
get_script_handle() |
S |
79 |
1 |
3 |
get_site_key() |
S |
80 |
1 |
3 |
enqueue_scripts() |
S |
72 |
1 |
6 |
get_hcaptcha_name() |
S |
81 |
1 |
3 |
render_field() |
S |
64 |
1 |
10 |
add_field_type() |
S |
75 |
1 |
4 |
register_action() |
S |
80 |
1 |
3 |
__construct() |
S |
70 |
1 |
6 |